package cn.yunhe.entity;

import java.io.Serializable;

public class ChildType implements Serializable {
    private  int chtypeid;//小类别的编号
    private String ctypename;//小类别的名称
    private FatherType fatherType;//大类别的属性

    public ChildType() {
    }

    public ChildType(String ctypename, FatherType fatherType) {
        this.ctypename = ctypename;
        this.fatherType = fatherType;
    }

    public ChildType(int chtypeid) {
        this.chtypeid = chtypeid;
    }

    public int getChtypeid() {
        return chtypeid;
    }

    public void setChtypeid(int chtypeid) {
        this.chtypeid = chtypeid;
    }

    public String getCtypename() {
        return ctypename;
    }

    public void setCtypename(String ctypename) {
        this.ctypename = ctypename;
    }

    public FatherType getFatherType() {
        return fatherType;
    }

    public void setFatherType(FatherType fatherType) {
        this.fatherType = fatherType;
    }
}
